﻿using Company.Application.Login.Views;
using Company.Application.Share.Prism;
using Company.Core.IOC;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Company.Application.Login
{
    public class LoginModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            PrismProvider.RegionManager.RegisterViewWithRegion(RegionNames.MainRegion, ViewNames.LoginView);
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<LoginView>();
        }
    }
}
